add javascirpt effect.

Signed-off-by: Chen Liang <leungchen921@gmail.com>