Prepare js