some refactoring
extracted javascript to own file
Merge branch 'master' of github.com:codeforpb/parking_pb