added javascript main file