fix issues in Java 7 examples
add dependency to markdown.js