Moved javascript back where it belongs.