Moved some obtrusive js to lib directory