all js files here is temporary, only using for preview.html