Consistent java scripts loading

- Moved jQuery and sidebar scripts rendering after content for keeping
consistency with other scripts.