Spring Security + RequireJS