adding javascript recipe