Added preview compiled livescripe file support.

fixed #1
Signed-off-by: Rack Lin <racklin@gmail.com>