adding necessary js for theme