add starting js code