WIP fix jquery problme when resoures are managed with wro