PIM-3140: Moved javascript