added and cleaned up sanitization
fixed minor syntax differentiation
enqueueing refactoring
asynced js files