Moved js to end