fixed js indentation, added resources