move JS inline