adds first bit of JS