changes to _Layout and signin

_Layout: moved bundle/jquery to the top of the page
signin: fixed some of the js stuff need to fix call to Constructor class