Put load jmasonry script in head tag