some initial js code